/**
 * @author harry
 * @date 2022/3/2/10:40
 */

package com.serviceOrchestration.atomic;

import lombok.Data;

import java.util.List;

/**
 * 从原子服务的注解提取信息后保存在此实体类中。
 * 对应@AtomicService注解
 */
@Data
public class AtomicUnitInfo {
    private int id;
    private String name;
    private String detail;
    private List<AtomicUnitParam> params;

    public AtomicUnitInfo(int id, String name, String detail) {
        this.id = id;
        this.name = name;
        this.detail = detail;
    }
}
